﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="SimpleRest.WebTest.Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div style="position: absolute; top: 10px; right: 10px; background-color: #FFFFE0; font-size: large; border-color: Black; border-width: 3px; border-style: outset;">
        This page is dynamically created from the services registered within this application.<br />
        Test it out by modifying the service description information and refreshing the page!
    </div>
    <div style="float: left;">
        <asp:TreeView ID="TreeView1" runat="server" 
            onselectednodechanged="TreeView1_SelectedNodeChanged" ShowExpandCollapse="false">
        </asp:TreeView>
    </div>
    <div style="overflow: hidden; padding-left: 10px;">
        <div runat="server" id="ServiceDiv" visible="false">
            <h2>Service</h2>
            <asp:Label runat="server" ID="ServiceNameLabel"></asp:Label>
            <h3>Description</h3>
            <asp:Label runat="server" ID="ServiceDescriptionLabel"></asp:Label>
            <h3>Status Codes</h3>
            <asp:Label runat="server" ID="ServiceStatusCodesLabel"></asp:Label>
            <h3>Help Links</h3>
            <asp:Label runat="server" ID="ServiceHelpLinksLabel"></asp:Label>
        </div>
        <div runat="server" id="OperationDiv" visible="false">
            <h2>Operation</h2>
            <asp:Label runat="server" ID="OperationUriLabel"></asp:Label>
            <h3>Description</h3>
            <asp:Label runat="server" ID="OperationDescriptionLabel"></asp:Label>
            <h3>Parameters</h3>
            <asp:Label runat="server" ID="OperationParametersLabel"></asp:Label>
            <h3>Status Codes</h3>
            <asp:Label runat="server" ID="OperationStatusCodesLAbel"></asp:Label>
            <h3>Help Links</h3>
            <asp:Label runat="server" ID="OperationHelpLinksLabel"></asp:Label>
        </div>
    </div>
    </form>
</body>
</html>